// 课程列表的请求参数
export interface courseParamsInterface {
  pageNum: number;
  pageSize: number;
}

// 课程列表的结果类型
export interface courseItemsInterface {
  id: string;
  teacherId: string;
  subjectId: string;
  subjectParentId: string;
  title: string;
  price: number;
  lessonNum: number;
  cover: string;
  buyCount: number;
  viewCount: number;
  version: number;
  status: string;
  isDeleted: null;
  gmtCreate: string;
  gmtModified: string;
}
// 课程相关接口
// 根据课程id查询课程基本信息
export interface courseOutlineObject {
  courseInfoVo?: courseItemObject;
}
// 返回值类型
export interface courseItemObject {
  id: string;
  teacherId: string;
  subjectId: string;
  subjectParentId: string;
  title: string;
  price: number;
  lessonNum: number;
  cover: string;
  description: string;
}
// 章节相关接口
// 根据课程id查询课程大纲列表
export interface ChapterVideoList {
  allChapterVideo: ChapterVideoItem[];
}
// 课程的每一项
export interface ChapterVideoItem {
  id: string;
  title: string;
  videoSourceId?: string;
  children?: ChapterVideoItem[];
}
